Repository navigation
chore: remove web-search/searxng feature - #32
Closed
sandstream wants to merge 1 commit into
Closed
sandstream wants to merge 1 commit into
sandstream wants to merge 1 commit into
Conversation
Web search (self-hosted searxng provider health-check + MCP context field + [web.search] config + service adapter + plugin web_search_provider capability) is a runtime capability for the agent, not part of kit's deterministic setup + gate. It's the orchestrator/harness's job to give agents tools, not kit's. Removes the feature end to end: - delete check-web-search, validation/dynamic-schema, adapters/searxng-instance, and plugin-registry.ts (the web_search-only capability registry; the real plugin engine lives in plugins.ts and is untouched) - de-wire cli.ts (check flow + JSON + status print), mcp-server.ts (context), output.ts (printWebSearchStatus), config.ts (WebSearchConfig + [web] schema + section allow-list), completions + adapters registry - drop [web.search] from .kit.toml and the searxng/instance docs from README Verified: clean build, full suite 2327/2327 green, `kit check` runs (15/15 checks pass) with no web-search references remaining. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015ERHw6bVUz39sAuoQZ1iyg
|
✅ Docker image built successfully
|
9 tasks done
sandstream
added a commit
that referenced
this pull request
Jul 10, 2026
…on R1) (#308) First reconciliation step (kit-research #32): the profile's [scope].fs is a path LIST but the exec-broker's BrokerPolicy.fs was a single root. Extend it to represent a list so the signed profile scope (next step) maps faithfully: - BrokerPolicy.fs gains an optional roots[] alongside the required root; the effective allowed set is [root, ...roots] (policyFsRoots helper, de-duplicated). root stays required so the existing .kit-exec-broker.json shape and all existing tests are unaffected (non-breaking). - loadBrokerPolicy validates roots fail-closed (any non-string[] → null). - collectDenials: an fs write is allowed iff SOME allowed root passes BOTH the pure traversal gate AND the symlink-aware realpath gate; denied only when every root rejects it. Pure/loader change, no behavior change for single-root policies. Tests: validator accepts roots; brokerExec allows a write under any listed root, denies one under none. Claude-Session: https://claude.ai/code/session_01DbF4MFePXWNCd4dxBQvqH2 Co-authored-by: Claude <noreply@anthropic.com>
This was referenced Jul 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closing — decision: keep web search. It's on-brand (self-hosted searxng = local-first, no query leakage, no telemetry — "intelligence stays where you put it"), and removing it is a risky refactor of the plugin-capability model for debatable benefit. Kept intact.
(Original removal description preserved below for reference.)
Web search (self-hosted searxng provider health-check + MCP context field +
[web.search]config + asearxng/instanceservice adapter + aweb_search_providerplugin capability) was assessed as agent-runtime-service creep. Decision: keep it — it fits kit's local-first/no-telemetry ethos. No code removed.